<?php
/* @var $this OrdCommentController */
/* @var $model OrdComment */
$model->zm_id_sent = Yii::app()->user->getId();
$model->zoc_totype = 2;

?>
<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
	'id'=>'comment-form-buyer',
)); ?>
 <table class="list_table list_table2" width="100%" cellpadding="0" cellspacing="0">
	<tr class="bgcolor">
	<th colspan="2" width="35%" class="rate tl">
	<?php echo $form->dropDownList($model,'zoc_sum',OrdComment::model()->getCommentType(),array('class'=>'s_ipt','id'=>'changeLevel2'));?>
    </th>
	<th width="45%">商品信息</th>
	<th width="13%">操作</th>
	</tr>
</table>
<?php $this->endWidget(); ?>



<?php 
$this->widget('zii.widgets.CListView', array(  
    'dataProvider'=>$model->search(),  
    'itemView'=>'_comment_buyer_view',    
    'emptyText'=>'暂时没有数据',
	'template'=>'{items}{pager}',
	'itemsTagName'=>'table',
	'itemsOptions'=>array('class'=>'list_table list_table2','width'=>'100%','cellpadding'=>0,'cellspacing'=>0),
    ));  
?> 